<?php
class GeryRuntimeException extends GeryException {
	
	/**
	 * The location where the exception occured
	 *
	 * @var TemplateLocation
	 */
	private $location;
	
	public function __construct($message, TemplateLocation $location) {
		parent::__construct($message);
		
		$this->location = $location;
	}
	
	function getLocation() {
		return $this->location;
	}
}